<template>
  <div class="center">
    <div>
      <el-image :src="require('@/assets/icon/nodata.png')"></el-image>
      <el-tooltip
          class="box-item"
          effect="dark"
          content="点击前往后台系统"
          placement="bottom"
      >
        <div @click="gotoSystem">
          还没有数据哦，快去后台添加吧...
        </div>
      </el-tooltip>
    </div>
  </div>
</template>

<script setup>

function gotoSystem() {
  window.open("http://123.207.205.51:8080","_blank")
}
</script>

<style scoped>
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

</style>
